package com.ccys.db.mapper;

import com.ccys.db.dto.masterData.PharmacyDto;
import com.ccys.db.entity.TblAccount;
import com.ccys.db.entity.TblPharmacy;
import com.ccys.db.vo.administrator.PharmacySelectListWebVO;
import com.ccys.db.vo.masterData.PharmacyPageQueryVo;
import com.ccys.db.vo.member.BookingPharmacyForSelfPickUpVO;
import tk.mybatis.mapper.common.Mapper;
import tk.mybatis.mapper.common.MySqlMapper;

import java.util.List;

/**
* Created by Mybatis Generator on 2023/12/08
*/
public interface TblPharmacyMapper extends Mapper<TblPharmacy>, MySqlMapper<TblPharmacy> {
    List<PharmacyPageQueryVo> findPagePharmacy(PharmacyDto dto);

       /**
        * @description 查询药房选择列表
        * @date     2024/1/4
        * @author   cloud fly
        */
    List<PharmacySelectListWebVO> pharmacySelectList(TblAccount dto);

       /**
        * @description 国家ID 查询出一个药房
        * @date     2024/2/5
        * @author   cloud fly
        */
       BookingPharmacyForSelfPickUpVO getCountryTblPharmacyTop1(TblPharmacy ts);

    void updateDispOrder(PharmacyDto dto);
}